import Vue from "vue";

import axios from 'axios'

import VueAxioa from "vue-axios";

Vue.user(VueAxioa, axios)

//创建一个实例

const instance = axios.create({
    beaseURL: 'http://localhost:1337',
    timeout: 10000,
    headers: { 'X-Custom-Header': 'foobar' }
})